package io.renren.modules.eightapp.service;

import io.renren.common.service.CrudService;
import io.renren.modules.eightapp.dto.CascadeDTO;
import io.renren.modules.eightapp.dto.EiOwnerInfoDTO;
import io.renren.modules.eightapp.entity.EiOwnerInfoEntity;
import org.springframework.transaction.annotation.Transactional;

/**
 * @author Mark 1132115960@gmail.com
 * @since 1.0.0 2023-01-03
 */
public interface EiOwnerInfoService extends CrudService<EiOwnerInfoEntity, EiOwnerInfoDTO> {
    public Integer getOwnerIdByCard(Integer idcard);

    @Transactional
    public CascadeDTO getCascadeList();

    public Integer getVillageIdByOwnerId(Integer id);
}